home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++,comp.lang.c
- Path: tcnntp.trader.com!not-for-mail
- From: mg <mg@trader.com>
- Subject: Re: Colors in text-mode?????
- Message-ID: <31707A6B.A34@trader.com>
- Date: Sat, 13 Apr 1996 23:09:15 -0500
- References: <4jrlrf$jab@nosy.bart.nl> <4k4pl1$pea@host1.einstein.com.ar> <Dpp4xz.LqM@pgh.nauticom.net>
- X-Mailer: Mozilla 2.01 (Win95; I)
- MIME-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
-
- The Great Almighty Computer Programmer wrote:
- >
- > Javier Kohen (jkohen@einstein.com.ar) wrote:
- > > painless@bart.nl (Steven van den Berg) wrote:
- >
- > > >Does somebody know how I can get colors in the text-mode of C/C++? I
- >
- > > Yes!!! Use direct screen writes. E-mail me and i'll write a function
- > > for you or explain you what's is this.
- >
- > you dont need to do that! OK, use textcolor(int) and textbackground(int)
- > and for output, use cprintf(char*)
- >
- > thats what I use
- >
- > --
- >
- > o O
- > `\|||/
- > (o o)
-
- I agree. Think the MS version of these two is _settextcolor(int) and
- _setbkcolor(int). With MS, think you also have to print to a buffer and
- then use outtext(char *) to print it to the screen.
-
-